Carbon


PBSetVolSync

Header: Files.h Carbon status: Unsupported

Changes the default volume and default directory.

OSErr PBSetVolSync (
    ParmBlkPtr paramBlock
);
paramBlock

A pointer to a basic File Manager parameter block.

function result

A result code.

DISCUSSION

The relevant fields of the parameter block are:

If you pass a volume reference number in ioVRefNum, the PBSetVolSync function makes the specified volume the default volume and the root directory of that volume the default directory. If you pass a working directory reference number, PBSetVolSync makes the specified directory the default directory, and the volume containing that directory the default volume.

AVAILABILITY

Not supported in Carbon. Not available in Carbon.

CARBON NOTES

Obsolete. Use PBHSetVolSync instead.


© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)